
import AbsMenu from '../absmenu.js'
import { ElMessage } from 'element-plus';
class SysMenu extends AbsMenu.AbsMenu {
    constructor(map, item) {
        super(map, item);
    }

    act2Click() {
        console.log("sys-----+" + this.menuSubItem);
        switch (this.menuSubItem) {
            case 'login':
                this.login();
                break;
        }
    }


    login() {
        let t = window.refLoginDlg.value;
        if (t && !t.visible) {
            t.visible = true;
        }
    }
}

export default { SysMenu }

